/**
 * 存储加减及混合运算的数组
 */
//简易的数字
var num1s = new Array(
    1,2,3,4,5,6,8,9
);
//难度大的数字
var num2s = new Array(
    1,2,3,4,5,6,8,9,10,
    11,12,13,14,15,16,17,18,19,
    20,21,22,23,24,25,26,27,28,29,30,31,34,35,36,37,
    38,39,40,41,42,43,44,45,46,47,48,49,50
)
//提取简易数字
function jianNumArray(){
    var numls_index = parseInt(Math.random() * num1s.length);
    var jian_num1 = num1s[numls_index];
    return jian_num1
}
//提取难度大的数字
function nanNumArray(){
    var num2s_index = parseInt(Math.random() * num2s.length);
    var nan_num = num2s[num2s_index];
    return nan_num
}
/*
* 存储加减符号,并设立提取方法
* */
var jiaJIan = new Array(
    "+","-"
);
function jiaAndjian(){
    var jiaJIan_index = parseInt(Math.random() * jiaJIan.length);
    var jia_JIan = jiaJIan[jiaJIan_index];
    return jia_JIan
}
/*
 * 存储乘除符号,并设立提取方法
 * */
var chengchu = new Array(
    "×","÷"
);
function chengAndchu(){
    var chengchu_index = parseInt(Math.random() * chengchu.length);
    var jia_JIan = chengchu[chengchu_index];
    return jia_JIan
}
/*
 * 存储加减乘除符号,并设立提取方法
 * */
var jiajianAndchengchu = new Array(
    "×","÷","+","-"
);
function jiajianANDchengchu(){
    var chengchu_index = parseInt(Math.random() * jiajianAndchengchu.length);
    var jia_JIan = jiajianAndchengchu[chengchu_index];
    return jia_JIan
}
$(function () {
});

